#!/usr/bin/node

const log = console.log,
      fs = require('fs'),
      dir = process.argv[2] || __dirname;

try{

  log(fs.readdirSync(dir));

}catch(e){
  console.error(e.message);
  process.exit(1);
}
